06. Square Matrix Multiplication Quiz

Square Matrix Multiplication Quiz

let A and B be two square matrcies of 3 x 3 .

A=\begin{bmatrix} 3 &1 &2\\ -5 &4 &1\\0&3&-8\end{bmatrix}

B=\begin{bmatrix} 0 &5&-1\\ 3 &2 &-1\\10&0.5&4\end{bmatrix}

(a) What is the value of element c_{23} of Matrix C where C=A x B

(b) What is the value of element c_{23} of Matrix C where C=B x A

Workspace

This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.

Workspace Information:

  • Default file path:
  • Workspace type: react-live
  • Opened files (when workspace is loaded): n/a

Notice that A x B\neq B x A , as element c_{23} in
A x B is not the same as element c_{23} in
B x A .

Since A x B\neq B x A we say they there are not commutative . This is a very interesting observation, as multiplication of scalars is definitely commutative.